package com.example.demo;

import lombok.extern.slf4j.Slf4j;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @author lizhien (zhien.li@nascent.cn)
 * @version 1.0.0
 * @date 2022/3/18 16:02
 * @description com.example.demo
 */

@SpringBootApplication
@RestController
@Slf4j
public class PrometheusJSTApplication {

    public static void main(String[] args) {
        SpringApplication.run(PrometheusJSTApplication.class, args);
    }

    @RequestMapping("/")
    public String index() {
        log.info("hello prometheus-jst");
        return "hello prometheus-jst";
    }
}
